package com.zyb.product.service;

import com.zyb.commons.service.CrudService;
import com.zyb.product.dto.CategoryDTO;
import com.zyb.product.entity.CategoryEntity;

import java.util.List;

/**
 * 商品三级分类
 *
 * @author 赵毅博 593163583@qq.com
 * @since 1.0.0 2022-07-15
 */
public interface CategoryService extends CrudService<CategoryEntity, CategoryDTO> {

    List<CategoryEntity> listTree();

    void removeMenuIds(List<Long> asList);

    Long[] getFatherIds(Long catId);
}